package com.pcbly.web.persistence.workflow;

import java.util.List;

import com.pcbly.web.bean.workflow.WorkflowStepBean;
import com.pcbly.web.persistence.BaseDao;

public interface WorkflowStepDao extends BaseDao<WorkflowStepBean> {
	List<WorkflowStepBean> findWorkflowStepBeanByTIdAndIndex(String templateId,
			String index, boolean equal) throws Exception;

	void createWorkflowStepBean(WorkflowStepBean bean) throws Exception;

	WorkflowStepBean findWorkflowStepBeanByTempIdAndStepName(String templateId,
			String name) throws Exception;
	
	List<WorkflowStepBean> findWorkflowStepBeanByTemplateId(
			String templateId) throws Exception;
}
